package com.ruoyi.cms.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 访客预约对象 crm_visitor
 * 
 * @author hct
 * @date 2022-10-06
 */
public class CrmVisitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 是否允许0不允许1允许 */
    @Excel(name = "是否允许0不允许1允许")
    private Long allow;

    /** 被拜访人公司名 */
    @Excel(name = "被拜访人公司名")
    private String company;

    /** 被拜访人信息对应memberId */
    @Excel(name = "被拜访人信息对应memberId")
    private String companyUserName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer status;

    /** 来访人头像 */
    @Excel(name = "来访人头像")
    private String visitorHead;

    /** 来访人手机号 */
    @Excel(name = "来访人手机号")
    private String visitorMobile;

    /** 来访人名称 */
    @Excel(name = "来访人名称")
    private String visitorName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date visitorTime;

    /** 被拜访人 */
    @Excel(name = "被拜访人")
    private Long memberId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long companyId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String visitorCompany;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String companyAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAllow(Long allow) 
    {
        this.allow = allow;
    }

    public Long getAllow() 
    {
        return allow;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setCompanyUserName(String companyUserName) 
    {
        this.companyUserName = companyUserName;
    }

    public String getCompanyUserName() 
    {
        return companyUserName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setVisitorHead(String visitorHead) 
    {
        this.visitorHead = visitorHead;
    }

    public String getVisitorHead() 
    {
        return visitorHead;
    }
    public void setVisitorMobile(String visitorMobile) 
    {
        this.visitorMobile = visitorMobile;
    }

    public String getVisitorMobile() 
    {
        return visitorMobile;
    }
    public void setVisitorName(String visitorName) 
    {
        this.visitorName = visitorName;
    }

    public String getVisitorName() 
    {
        return visitorName;
    }
    public void setVisitorTime(Date visitorTime) 
    {
        this.visitorTime = visitorTime;
    }

    public Date getVisitorTime() 
    {
        return visitorTime;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setVisitorCompany(String visitorCompany) 
    {
        this.visitorCompany = visitorCompany;
    }

    public String getVisitorCompany() 
    {
        return visitorCompany;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("allow", getAllow())
            .append("company", getCompany())
            .append("companyUserName", getCompanyUserName())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
            .append("visitorHead", getVisitorHead())
            .append("visitorMobile", getVisitorMobile())
            .append("visitorName", getVisitorName())
            .append("visitorTime", getVisitorTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("memberId", getMemberId())
            .append("companyId", getCompanyId())
            .append("visitorCompany", getVisitorCompany())
            .append("companyAddress", getCompanyAddress())
            .toString();
    }
}
